//
//  AppDelegate.h
//  Address-book📞
//
//  Created by Mars_ZXB on 16/8/6.
//  Copyright © 2016年 BAT3. All rights reserved.
//


#import "ImageViewOfVC2nd.h"

@implementation ImageViewOfVC2nd

- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [self.target performSelector:self.action withObject:self afterDelay:0];
}

- (void)addTarget:(id)target action:(SEL)action {
    self.userInteractionEnabled = YES;
    self.target = target;
    self.action = action;
}

@end
